package com.etc.tools;

/**
 * @前后交互数据类
 * @author Administrator
 *
 * @param <T>
 */
public class AjaxUploadResponse{

	private int code = 0;// 前后交互code
	private String msg = "";
	private String data = "";

	public String getData() {
		return data;
	}

	public void setData(String data) {
		this.data = data;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public AjaxUploadResponse(int code, String msg,String data) {
		super();
		this.code = code;
		this.msg = msg;
		this.data = data;
	}

	public AjaxUploadResponse() {
		// TODO Auto-generated constructor stub
	}

	@Override
	public String toString() {
		return "AjaxOperateResponse [code=" + code + ", msg=" + msg + "]";
	}

}
